package chapter;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class InputStreamTest {
	
	
	
   public void Streamprint() throws IOException
   {
	   BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
	   String data;
	   StringBuilder sb=new StringBuilder();
	   while((data=br.readLine())!=null){
		   sb.append(data+"\r\n");
	   }
	   System.out.println(sb);
   }
    
	public static void main(String[]args) throws IOException
	    
	{    
		InputStreamTest ist=new InputStreamTest();
		ist.Streamprint();
	}
	
	
	
	

}
